# define enum for door states
uint8 DOOR_OPEN=1
uint8 DOOR_CLOSED=0
uint8 DOOR_TRANSITION=2

# define enum for floor states
uint8 FLOOR_TRANSITION=0

uint8 floor
uint8 door